package TaskOne;
//猫类
public class Cat extends Felidae{
    /**
     * 宠物猫
     */
    public String Petcat;

    public Cat(){
    }
    public Cat(String petcat){
        this.Petcat=petcat;
    }
    public void petca(){
        System.out.println(this.Petcat+"可以讨主人开心");
    }
    public static void main(String[]args){
        Cat cat=new Cat("波斯猫");
        cat.petca();

    }


}
